﻿using System;

namespace BarCodeScannerControl.Events
{
    public class ScannerInitialized : EventArgs
    {
        public bool IsInitialized { get; set; }

        public Exception Error { get; set; }

        public ScannerInitialized(bool isInitialized, Exception error = null)
        {
            this.IsInitialized = isInitialized;
            this.Error = error;
        }
    }
}